Skip to content

Version Packages#71

Merged
aui merged 1 commit into
mainfrom
changeset-release/main
Jun 17, 2026
Merged

Version Packages#71
aui merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@web-widget/shared-cache@1.9.0

Minor Changes

  • e7a9731: Fix 304 revalidation persistence so background revalidation with 304 Not Modified stores the revalidated policy instead of rebuilding from stale response headers (restores fresh HIT on subsequent requests).

    Add UPDATING cache status for stale-while-revalidate (aligns with Cloudflare CDN semantics; STALE is reserved for stale-if-error).

    Return 304 Not Modified from Cache.match() when conditional request headers (If-None-Match, If-Modified-Since) match a fresh cached entry.

    Percent-encode x-cache-key header values so cache keys with control characters or non-Latin-1 Unicode are valid HTTP header field values.

    Strip persisted Age from stored policy metadata on read for compatibility with entries written before the revalidation fix.

  • 2aeb468: Add middleware-friendly resolveWithCache and createCacheHandler APIs with phase-aware origin error handling.

@github-actions github-actions Bot force-pushed the changeset-release/main branch from f28ea99 to 669fa2a Compare June 17, 2026 07:19
@aui aui merged commit 7b858ab into main Jun 17, 2026
@aui aui deleted the changeset-release/main branch June 17, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant